package com.milk.system.model.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 评论管理表 DTO
 *
 * @author milk
 * @since 2024-05-04
 */
@Getter
@Setter
@Schema(description = "评论管理表传输层对象")
public class CommentsDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "评论唯一标识")

    private Long id;

    @Schema(description = "客户姓名")

    private String customerName;

    @Schema(description = "评论内容")

    private String commentContent;

    @Schema(description = "评分（1-5星）")

    private Integer rating;

    @Schema(description = "创建时间")

    private LocalDateTime createdTime;

    @Schema(description = "修改时间")

    private LocalDateTime updatedTime;

    @Schema(description = "逻辑删除标识（0：未删除，1：已删除）")

    private Boolean deleted;
}
